package drds.binlog.spi;

import drds.binlog.instance.core.BinlogTask;

/**
 * @author Chuanyi Li
 */
public class NopMetricsService implements MetricsService
{

    public static final NopMetricsService NOP = new NopMetricsService();

    private NopMetricsService()
    {
    }

    @Override
    public void initialize()
    {

    }

    @Override
    public void terminate()
    {

    }

    @Override
    public boolean isRunning()
    {
        return false;
    }

    @Override
    public void register(BinlogTask binlogTask)
    {

    }

    @Override
    public void unregister(BinlogTask binlogTask)
    {

    }

    @Override
    public void setServerPort(int port)
    {

    }
}
